<template>
  <el-dialog :visible="showVisible" center :show-close="false" width="600px">
    <div class="b g3 f16 tl" slot="title">
      <div class="ks-row-between pl15 pr15">
        <span>{{ $t("sys.details") }}</span>
        <span class="el-icon-close g9 f26 poi" @click="handleCancel"></span>
      </div>
    </div>
    <el-card class="mb10 mr15 ml15">
      <div class="content">
        {{ exceptionInfo}}
      </div>
    </el-card>
    <div slot="footer" class="tr">
      <el-button type="primary" @click="handleCancel">
        {{$t('sys.close')}}
      </el-button>
    </div>
  </el-dialog>
</template>

<script>
export default {
  name: "ExceptionInfo",
  data() {
    return {
      exceptionInfo: '',
      showVisible: false,
    };
  },
  created() {},
  methods: {
    showModal(record = {}) {
      this.showVisible = true;
      this.exceptionInfo= record.exceptionInfo
    },
    handleCancel() {
      this.showVisible = false;
      this.exceptionInfo = '';
    },
  },
};
</script>

<style lang="scss" scoped>
.content {

}
</style>
